package com.lqq.designPattern.design_principle.接口隔离原则;

public class Demo {
    public static void main(String[] args) {
        LqqSafetyDoor lqqSafetyDoor = new LqqSafetyDoor();
        System.out.println(lqqSafetyDoor.getName());
        lqqSafetyDoor.antiTheft();
        lqqSafetyDoor.fireproof();
        lqqSafetyDoor.waterproof();

        System.out.println("=====================");

        ZsmSafetyDoor zsmSafetyDoor = new ZsmSafetyDoor();
        System.out.println(zsmSafetyDoor.getName());
        zsmSafetyDoor.fireproof();
        zsmSafetyDoor.fireproof();

    }
}
